]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
extensionsService: Log error if preferences dialog failed to open
authorSimon Schneegans <code@simonschneegans.de>
Sat, 1 May 2021 18:15:50 +0000 (18:15 +0000)
committerMarge Bot <marge-bot@gnome.org>
Sat, 1 May 2021 21:07:36 +0000 (21:07 +0000)
This is helpful for continuous integration checks to see whether the
preferences dialog of an extension can be opened successfully.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1830>

js/dbusServices/extensions/extensionsService.js

index ce98bbf57521f686a86c8d34c6d6df07aa6b6c4a..6556d3cf3112725d2646a7e581ce7985044bfd28 100644 (file)
@@ -211,6 +211,7 @@ var ExtensionPrefsDialog = GObject.registerClass({
             this._stack.visible_child = widget;
         } catch (e) {
             this._setError(e);
+            logError(e, 'Failed to open preferences');
         }
     }